namespace CRM.DataAccess.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class DELIVERY_NOTE
    {
        public long ID { get; set; }

        public long ORGANIZATION_ID { get; set; }

        public DateTime? DELIVERY_DATE { get; set; }

        public long CONTACT_ID { get; set; }

        public long TYPE_ID { get; set; }

        public long SALES_ORDER_ID { get; set; }

        public long? CARRIER_ID { get; set; }

        public long? INVOICE_ID { get; set; }

        [StringLength(150)]
        public string TRACKING_NO { get; set; }

        public long? ASSIGNED_USER_ID { get; set; }

        [StringLength(150)]
        public string STREET { get; set; }

        [StringLength(150)]
        public string PO_BOX { get; set; }

        [StringLength(150)]
        public string ZIP { get; set; }

        [StringLength(150)]
        public string CITY { get; set; }

        [StringLength(150)]
        public string COUNTRY { get; set; }

        [StringLength(150)]
        public string STATE { get; set; }

        public long? DELIVERY_NOTE_PRODUCT_ID { get; set; }

        public bool? CREATED_BY { get; set; }

        public bool DELETED { get; set; }

        public DateTime DATE_ENTERED { get; set; }

        public long? MODIFIED_USER_ID { get; set; }

        public DateTime DATE_MODIFIED { get; set; }
    }
}
